package com.mvu.banana.common.server;

import com.mvu.banana.common.client.SystemConstants;
import com.mvu.banana.common.client.ValueDTO;

import javax.servlet.http.HttpServletRequest;

/**
 * Interface description...
 *
 * @author gantz
 */
public abstract class AJAXServlet<D extends ValueDTO> implements SystemConstants {
  protected HttpServletRequest request;

  public abstract D post(D dto);

  public void setRequest(HttpServletRequest threadLocalRequest) {
    this.request = threadLocalRequest;
  }
}
